package com.dyh.pojo;

//粉丝表(中间表)
public class UserFollow {

    private int id;

    /*
    * 被关注的id
    * */
    private int userId;

    /*
    * 关注人的id
    * */
    private int followId;

    public UserFollow(int id, int userId, int followId) {
        this.id = id;
        this.userId = userId;
        this.followId = followId;
    }

    public UserFollow() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getFollowId() {
        return followId;
    }

    public void setFollowId(int followId) {
        this.followId = followId;
    }

    @Override
    public String toString() {
        return "UserFollow{" +
                "id=" + id +
                ", userId=" + userId +
                ", followId=" + followId +
                '}';
    }
}
